<td width="50" align="center"><?php echo $rs->CompanyName; ?></td>
<td align="center"><?php echo $rs->RegistrationNo?></td>
<td align="center"><?php echo $rs->Location?></td>
<td align="center"><?php echo $rs->RegisteredCapital?></td>
<td align="center"><?php echo MerchantsSettledModel::getStatusHtml($rs->Status);?></td>
<td align="center">
<?php
$op = array();
$op[] = '<a href="'.AdminBase::U("view",array('id'=>$rs->MerchantsSettledID)).'" >查看</a>';
if(RBAC::authenticate('edit')){ 
  if($rs->Status == 0){
    $op[] = '<a class="J_ajax_request" href="'.AdminBase::U("update",array('id'=>$rs->MerchantsSettledID, 'Status' => 1)).'" >通过</a>';
    $op[] = '<a class="J_ajax_request" href="'.AdminBase::U("update",array('id'=>$rs->MerchantsSettledID, 'Status' => 2)).'" >拒绝</a>';
  }
}

echo implode('|', $op);
?> 
</td>